package com.example.comsys.dao;

import com.example.comsys.dataobject.EmployeeDO;
import com.example.comsys.param.EmployeeQueryParam;
import java.util.List;
import org.springframework.stereotype.Repository;

@Repository
public interface EmployeeDAO {

  int deleteByPrimaryKey(Long employeeId);

  int insert(EmployeeDO record);

  EmployeeDO selectByPrimaryKey(Long employeeId);

  List<EmployeeDO> selectByParam(EmployeeQueryParam param);

  List<EmployeeDO> selectAll();

  Integer selectCount();

  int updateByPrimaryKey(EmployeeDO record);
}